package mr.ali.video.web.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Mr-ali
 * @since 2025-08-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("collection_play")
public class CollectionPlay implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("name")
    private String name;

    @TableField("imageUrl")
    private String imageUrl;

    @TableField("episode")
    private Integer episode;

    @TableField(exist = false)
    private Integer Episodes;

    @TableField("tags")
    private Integer tags;

    @TableField("content")
    private String content;

    @TableField("displayed")
    private Integer displayed;

    @TableField("gmt_create")
    private Long gmtCreate;

    @TableField(exist = false)
    private List<CollectionPlayUrl> collectionUrls;

}
